package com.woniuxy.business.service;

import com.woniuxy.entity.BusinessInfo;

import java.util.List;

public interface BusinessInfoService {
    //查询所有企业
    List<BusinessInfo> getAllBusinessInfo(String business_name,
                                          int pageIndex,int pageSize);
    //添加企业信息
    void addBusinessInfo(BusinessInfo businessInfo);
    //根据企业名字查询企业
    BusinessInfo getBusinessInfoByBusinessName(String business_name);
    //根据企业名字删除企业
    void removeBusinessInfo(String business_name);

    //根据id查找企业
    BusinessInfo selectBusinessInfoById(int id);
}
